package com.dd.stack.sql.optimize.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 药品库存信息表
 * </p>
 *
 * @author liuxianmeng
 * @since 2025-08-12
 */
@Getter
@Setter
@TableName("medicine")
public class Medicine implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 药品ID，主键
     */
    @TableId(value = "med_id", type = IdType.AUTO)
    private Integer medId;

    /**
     * 药品名称
     */
    private String medName;

    /**
     * 单价
     */
    private BigDecimal medPrice;

    /**
     * 库存量
     */
    private Integer medStock;
}
